package com.topone.Form;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * Created by Administrator on 2017/12/5,0005.
 */
@Data
public class OrderForm {
    /**
     * 买家姓名
     */
    @NotEmpty(message = "姓名必填")
    private String name;
    /**
     * 买家手机号
     *
     */
    @NotEmpty(message = "手机号必填")
    private String phone;

    /**
     *买家地址
     *
     */
    @NotEmpty(message = "订单总价必填")
    private String orderAmount;

    /**
     *买家微信openId
     *
     */
    @NotEmpty(message = "openid必填")
    private String openid;

    /**
     *优惠券编号
     *
     */
    @NotEmpty(message = "优惠券编号必填")
    private String couponId;

    /**
     *
     * 购买数量
     */
    @NotEmpty(message = "购买数量必填")
    private Integer couponNum;
}
